package com.zy.mydemo.common.utils;

import lombok.Getter;

/**
 * @Author:zhongyong
 * @Description：
 * @Date：Create in 2020/05/06
 */
public enum ResultTypeEnum {
    SUCCESS(10000, "成功"),
    ERROR(-10000, "错误"),
    SYS_ERROR(-14444, "系统异常");

    @Getter
    private int code;
    @Getter
    private String message;

    ResultTypeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
